package com.xueyi.system.instrumentRecords.service.impl;

import com.xueyi.system.instrumentRecords.domain.query.BaseInstrumentRecordsQuery;
import com.xueyi.system.instrumentRecords.domain.dto.BaseInstrumentRecordsDto;
import com.xueyi.system.instrumentRecords.service.IBaseInstrumentRecordsService;
import com.xueyi.system.instrumentRecords.manager.IBaseInstrumentRecordsManager;
import com.xueyi.common.web.entity.service.impl.BaseServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 仪器检测记录 服务层处理
 *
 * @author yanhe
 */
@Service
public class BaseInstrumentRecordsServiceImpl extends BaseServiceImpl<BaseInstrumentRecordsQuery, BaseInstrumentRecordsDto, IBaseInstrumentRecordsManager> implements IBaseInstrumentRecordsService {

    /**
     * 查询消防检查对象列表 | 数据权限 | 附加数据
     *
     * @param baseInstrumentRecords 消防检查对象
     * @return 消防检查对象集合
     */
    @Override
    //@DataScope(userAlias = "createBy", mapperScope = {"BaseInstrumentRecordsMapper"})
    public List<BaseInstrumentRecordsDto> selectListScope(BaseInstrumentRecordsQuery baseInstrumentRecords) {
        return baseManager.selectListExtra(baseInstrumentRecords);
    }

}
